package org.example.core;

import lombok.Getter;
import org.springframework.cloud.bus.event.Destination;
import org.springframework.cloud.bus.event.RemoteApplicationEvent;

/**
 * @author shenguangyang
 */
public class RouteEvent extends RemoteApplicationEvent {
    @Getter
    private String message;
    public RouteEvent() {super();}
    public RouteEvent(Object source,String originService, Destination destination, String message) {
        super(source, originService, destination);
        this.message = message;
    }

}
